import React from 'react';
import ReactDOM from 'react-dom';

// 如果不需要Mock，删除此行
import '@/mock'

import App from './App';

import '@/styles/main.less';
import logger from './utils/logger';

// 输出项目的信息
logger.capsule('App Version', process.env.VERSION || 'Not Defined')
logger.capsule('Environment', process.env.NODE_ENV || 'Not Defined')

ReactDOM.render(
	<React.StrictMode>
		<App />
	</React.StrictMode>,
	document.getElementById('root'),
);
